.class Lcom/waiqin365/lightapp/chexiao/dp;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/cn;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/dp;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/List;)V
    .locals 5

    const/4 v4, 0x0

    if-eqz p1, :cond_0

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    invoke-interface {p1, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/v;

    iget-boolean v1, v0, Lcom/waiqin365/lightapp/chexiao/c/v;->d:Z

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dp;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/dp;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;

    const v3, 0x7f080871

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/v;->b:Ljava/lang/String;

    aput-object v0, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->showToast(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dp;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->l(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dp;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->m(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/chexiao/dp;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "lastWH"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/c/v;->a()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v2, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
